#include "AMainwindow.h"
#include <QtWidgets/QApplication>

#include "GlobalKeyEventFilter.h"
#include "page/PageRelevancy.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    AMainwindow w;
    w.show();
    GlobalKeyEventFilter* filter = new GlobalKeyEventFilter(PageRelevancy::getInstance());
    a.installEventFilter(filter);
    return a.exec();
}
